The Source Control Integration API > Enablers > SCS_CanUndoCheckout()

 

SCS_CanUndoCheckout()

Description

Returns whether or not the Undo Checkout menu item should be enabled.

Arguments

connectionData, remotePathList, localPathList, numItems

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePathList is a list of fully qualified remote file or folder paths to check out.
localPathList is a list of fully qualified local file or folder paths to put.
numItems is the number of items in each list.

Returns

true if enabled, false if not.